package com.jcp.entity;
/**
 * 员工管理使用到的files和users的实体类
 * @author 朱耿封
 *
 */
public class FilesAndUsers {
	private int userId;//员工编号
	private String userName;//员工姓名
	private String sex;//员工的性别
	private String phone;//员工的手机号
	private String userEmail;//员工的email
	private String address;//员工的地址
	private String cardId;//员工的身份证
	private String deptName;//所属部门字段
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCardId() {
		return cardId;
	}
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public FilesAndUsers(int userId, String userName, String sex, String phone, String userEmail, String address,
			String cardId, String deptName) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.sex = sex;
		this.phone = phone;
		this.userEmail = userEmail;
		this.address = address;
		this.cardId = cardId;
		this.deptName = deptName;
	}
	@Override
	public String toString() {
		return "FilesAndUsers [userId=" + userId + ", userName=" + userName + ", sex=" + sex + ", phone=" + phone
				+ ", userEmail=" + userEmail + ", address=" + address + ", cardId=" + cardId + ", deptName=" + deptName
				+ "]";
	}
	public FilesAndUsers() {
		// TODO Auto-generated constructor stub
	}
	public FilesAndUsers(String userName2, String userSex, String userPhone, String userEmail2, String userAddress,
			String userCardId, String userPost) {
		this.userName = userName2;
		this.sex = userSex;
		this.phone = userPhone;
		this.userEmail = userEmail2;
		this.address = userAddress;
		this.cardId = userCardId;
		this.deptName = userPost;
		// TODO Auto-generated constructor stub
	}

	
}
